<script>
// import Swiper from './components/Swiper.vue';
// import Axios from './components/Axios.vue';
// import Vuex from './components/Vuex.vue';
// import Vue3 from './components/Vue3.vue';
import ElementDemo from './components/ElementDemo.vue';
import { provide } from 'vue';
export default{
  components: {
    // Swiper,
    // Axios,
    // Vuex,
    // Vue3,
    ElementDemo
  },
  setup() {
    provide("data","我是父级传递的消息")
  }
}
</script>
<template>
  <!-- <Swiper/> -->
  <!-- <Axios/> -->
  <!-- <nav>
    <router-link to="/">Home</router-link> |
    <router-link to="/about">About</router-link> | 
    <router-link to="/news">新闻</router-link>
  </nav>
  <router-view></router-view> -->
  <!-- <Vuex/> -->
  <!-- <Vue3 msg="数据"/> -->
  <ElementDemo msg="ElementPlus使用"/>
</template>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>